/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ideastec.mipyme.repository.fax;

import java.util.List;
import java.io.Serializable;
import com.ideastec.mipyme.model.fax.Fax;

/**
 *
 * @author Diego Rafael Graf
 */
public interface RepositorioFax {
    
    List<Fax> buscarTodos() throws Exception;
    
    Fax buscarPorID(Serializable id) throws Exception;
    
    Long contarTodos() throws Exception;
    
    List<Fax> buscarFax(Fax fax) throws Exception;
    
    void guardar(Fax fax) throws Exception;
    
    void actualizar(Fax fax) throws Exception;
    
    void guardarOActualizar(Fax fax) throws Exception;
    
    void borrar(Fax fax) throws Exception;     
    
}
